import App from './App'
import request from "util/api.js"
import store from "./store/index.js"
import date from 'date'
import config from "util/config.js"
// #ifndef VUE3
import Vue from 'vue'

import uView from "uview-ui";
Vue.use(uView);
// 取消vue自带的生产提示
Vue.config.productionTip = false
Vue.prototype.$config = config
Vue.prototype.Myrequest = request;
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif